made a few changes to login to jsp