added check for if user exists, working on register