active first
fix bug, try to make apply, right
fix apply
ask for login
ok now the login is working fine