fixing login request