Added LoginController with new 'as' syntax. This is just a draft implementation. No real functionality yet.