login and register to home page
clean up