Introduced usage of redirectlogin route parameter
Added basic controller functionality to token authentication/redirect