creating persistent cookies for login function
worked out the kinks in the persistent cookie
Merge remote-tracking branch 'upstream/master'