addded login/register with no backend. Fixed #1