Allowed for user authentication with basic users, fiddled with rendering too of imagedata