fixed too many 'as' in login links