Patch 1  - Add login via cookie feature

Add login via cookie feature