add login and simple registration