added a numeric return value to attempt to log in.  This is used to determine if attempt to login was pass, fail, or new user