Corrected requests for database methods in createservlet and
loginservlet