Merge login and register form into index page