Added login functionality, unsecured profiles and user hashes