Fixed login/register system. Fixed some UI bugs