Added login user and password feature
raise an error if password is wrong