reworked logging into own service