Adding identity to login context