Meteor’s accounts api makes easy login and register.