Added "remember be" cookie functionality. Added better random string generation