Fix logout, add option to login admin automatically to admin panel