Updated Signup with hashed + salted database backend and authenticated cookie for login / logout