fix bug in user lib
rename media lib to pictures lib and add functions for db access
comment logs
add random pictures method, fix bug
adapt feedback parameters