added loggin info to endpoints