adding user registration to views