player helper method moved to application controller