@@ -0,0 +1,681 @@
+package util;%0A%0Aimport com.google.appengine.api.users.UserService;%0Aimport com.google.appengine.api.users.UserServiceFactory;%0A%0Apublic class UserAuthUtil %7B%0A  public static boolean isUserLoggedIn() %7B%0A    UserService userServ = UserServiceFactory.getUserService();%0A    return userServ.isUserLoggedIn();%0A  %7D%0A  public static String getLoginURL(String redirect) %7B%0A    UserService userServ = UserServiceFactory.getUserService();%0A    return userServ.createLoginURL(redirect);%0A  %7D%0A  public static String getLogoutURL(String redirect) %7B%0A    UserService userServ = UserServiceFactory.getUserService();%0A    return userServ.createLogoutURL(redirect);%0A  %7D%0A  public static String getUser() %7B%0A%0A  %7D%0A%7D

Create authentication utility class