popuplogin working too
refactor of login constructor