added and activated login-mechanism