handled complete login incl. backend rest implementation