Adding in sessions and working sign in