A small authentication library using bCrypt and session checking