admin - fix bug in model for login