public void RetrieveSalt(RequestPacket request, DBCollection coll, User user) {
		try {
			// Use cursor to find query -> password
			DBCursor cursor = coll.find(new BasicDBObject("user_name", request.getUser_name()));
			
			if(cursor.hasNext()) {
				String stored_salt = cursor.next().get("salt").toString();
				user.sendMessage(msgTransformer.writeMessage(new ResponsePacket().setResponse("salt").setMessage(stored_salt)));
			}
			else {
				salt = BCrypt.gensalt(12);
				user.sendMessage(msgTransformer.writeMessage(new ResponsePacket().setResponse("salt").setMessage(salt)));
			}
				
		} catch(Exception e) {
			user.sendMessage(msgTransformer.writeMessage(new ResponsePacket().setResponse("response").setMessage("Invalid username or password")));
		}
	}