Fixed http 500

Issue based on not initiating the User due to wrong verification of
encrypted password. fixed in verifyUser & getUserBynameAndPassword