FAL-20 Adjusted Command processing to be state based; removed login and re-added AuthenticationHandler.