add factory girl for permissions model
add environments after creating a deployment