Center register form
Add message boxes