@GET
	@Path("/userlogin")
	@Produces("text/xml")
	public Response getUser(@QueryParam("username") String username, @QueryParam("password") String password) {
		User user = db.getUser(username);
		if(user != null) {
			boolean validUser = db.validate(user, password);
			if(validUser) {
				token = nextSessionId();
				ActiveUsers.addLoggedInUser(token, user);
				return Response.status(200).entity(token).build();
			}
		}
		return Response.status(403).build();
	}