Added port loggin