ticket:5 Add resize_photo function
Merge branch 't5_form_auth'