moved some methods from controller to service. Only the input screen is now broken again