fix resizing of projects images
redirect to admin panel when there is no project
alow to redirect after login