Modify Your Store Procedure as follow. The Following piece of code will help you
create PROCEDURE [dbo].[sp_getUserAccess]
(
@UserName varchar (25),
@Password varchar (25)
)
AS
BEGIN
SET NOCOUNT ON;
DECLARE @return int
IF exists(select UserName,AccessWord from UserAccess where UserName=@UserName AND AccessWord =@Password)
set @return = 1
ELSE
set @return = 0
END