Added dynamic login buttons
Fixed some log in bugs.
what is going on in this body.