working sign-in-out page