Merge login and register into a single page