TK: Fixed bug with password; prettified code
TK: at last fixed login logic (password comparetion)