protected void doPost(HttpServletRequest request,
			HttpServletResponse response) throws ServletException, IOException
	{
		int userId = Integer.parseInt(request.getParameter("userId"));
		String password = request.getParameter("password");
		try
		{
			User usr = UsersDAO.selectUserById(ds, userId);
			if (usr.getUserId() != 0)
			{
				if (usr.getPassword().equals(password))
				{
					response.getWriter().println(
							"Wellcome " + usr.getFirstName());
				}
				else
				{
					response.getWriter().println("wrong password");
				}

			}

			else
			{
				response.getWriter().println("No such user.");
			}
		}
		catch (SQLException e)
		{
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}