button function added, login/signup functionality created