more code in signup, app.rb and model files