Login functionality complete with secure password stuff...