add login register form controller