Add limits to binary columns.

To make them longblob in MySQL.
Redirect to the my images page after login.
Clear return_to url from session after login.