Begun the initial work on authentication and added helper methods to new abstract plugin