fix authorization

remove admin layout

remove unneeded method