fix admin login layout and error reporting