Updated login error handling. Created redirect for admin logout action.