merged client code into project, basic login buttons behavior