Modified sign out and signing in, cookie handling now with session ID