config sessions controller in rails and angular
error handling for new user
add sessions logic