Using localStorage for authentication parameters

+ permissions alpha version