fixed loggly bug + user login handling