changed return type for getUserList to ArrayList. log in is working
properly now