add OAuth login
move UserModel.class.php to Common