Latitude and Longitude are in degrees so you need to use a simple flat earth projection. IMPORTANT: all lat/lon values in the formula below should be in radians, not degrees! Using flat earth is adequate because your radius is 5km. The flat earth projection is:
var R = 6371; // km
var x = (lon2-lon1) * Math.cos((lat1+lat2)/2);
var y = (lat2-lat1);
var d = Math.sqrt(x*x + y*y) * R;
Now lat1/lon1 is the reference position, in your case, the position of the user. Lat2/lon2 would be the point your are testing. The variable 'd' is the distance. Since 'R' is specified in km, then 'd' will be in km.
If 'd' is less the 5 (ie, less than 5km), the point is inside the circle.
Reference: http://www.movable-type.co.uk/scripts/latlong.html