Removed unused code in LoginApp.