refactoring login/navbar
changed login to modal