need to check logout and delete_user