changed index view and added fields and button for sign in