added scopes to movie and user models