login method implemented, testing getSlides method