In my controller i have a function that creates a user but also checks to make sure that the user does not already exist and then a dashboard function which gets the user fr