reworked login (dashboard)