Friends filter implemented in homepage and wallpaper bug fixed

There exists an error with the department filter where the db refuses to
take any string with its character count above 9, shall be fixed soon...