user can register, login and logout

refactored code to inlcude new database tables
updated application controller spec

updated spec to match updates to helper methods