Redirect depending the user role
Fix tests
Test the redirect works
Don't render the preview if there is no image