added double mapping to loginController