basic user and photo functionality