Extracting code to js script
Adding role and user fixtures