Added password encryption for staff
Maintaining username in login form when login fails