added a login button and a dashboard page