Replaced routes "/user/login" and "/user/register" by "/user". now the action is defined by HTTP verb.