add segmented controller to login view