mmm COOOKIES!!!

Added remember me support, and permissions support