create a new directory lib containing all 'libraries' methods
write specs about checkLogin