Add log_out method