Abstract Modal component, applied to Login and User Privileges

Put this as a method of the component and simply use this.props instead of passing by arguments