fixed login/register routes
fixed class
reloading map layer when momment was added