Partial authorization, some changes to User model
fixing duplicate method admin_index