Finish user signup
Add SSL in production
more tests and refactoring