Login controler now logs data from factory - 1 karmatest broken