Implement login checks (fase 1)