made coding of user sign-in details more efficient