enable strict mode
add permission management methods
add postImage method