Implemented simple login managment using cookies