implemented login inside navbar popup