Get user course function