19.11.2016, 15:59
Also, in your checks for username and password, this will return false as you've encrypted your password.
So you're trying to compare a plain text string to an encrypted one.
So you're trying to compare a plain text string to an encrypted one.