SIgn in and sign out functions work.