fixed sign_in and sign_out routes, and few logger statements