Added ip-checking for logged in users
added salt for password-generation and checking
made the logout function return the user home