Removed duplicate functions for password reset & register new user