fixed login for agency