created authentication and session services