add user registration and corresponding templates