Refactored malt list to a directive, added logic to send login requests to api