Add working log-in log-out method
Add working log-in log-out method