corrected the login method to allow the login in with the hashed passwor...

...d @mohamedahmedawad93 @BeshoSmile please any of you review me and merge the login !! thanks !