Bug fixes in User/register form