Removed useless line
Hiding key edit functions for users who are not logged in now
Changed login to check database, not static user credentials
Removed static user credentials from config