Adding Login functionality to top bar