Setting up user create and setting logged in status and user info