ticket 2: saving to core data finished
ticket 2: relogin added