changed text boxes to select elements and got login working