Patch 1

Cookie login feature for 2-advanced