Add for registering user and reseting password functions.