removes legacy dataToDisplay variable assignment in login view