login register small fix

register params name changed
login param missing error added