more updates to app.rb sign up and log in functions