Login engine[pre]
Login by cookie and lookup session[done]
Logout [done]