Added pi functions
Merge pull request #2 from buren/logins

Added pi functions