clean up image resizing
add autentication file