added god flag support in java class and login