public static Result openLogger(){
try {
if (Logger.isTraceEnabled())Logger.trace("Method start");
SessionTokenAccess sessionTokenAccess = new SessionTokenAccess();
boolean okCredentials = sessionTokenAccess.setCredential(ctx());
if (!okCredentials) {
return CustomHttpCode.SESSION_TOKEN_EXPIRED.getStatus();
} else {
String username = (String) ctx().args.get("username");
if (username.equalsIgnoreCase(BBConfiguration.getBaasBoxUsername()) ||