set up login and buttons