checking for empty user details