now the login works pakkaly both admin and teacher works well