Finish user signup
Add SSL in production
small refactoring