fixed server issue with loggin gin