completed initial sign_in and sign_out features