fixed styling issue caused by merge on register page
updated registration api to log in user automatically