added public static variable in Log.java to fix login