login fully implemented should finish registration soon as well!