fixed some ui rendering bugs
start working on login/logout mechanism