Added succes and error pages

Added redirect to success and error-pages. Also fixed last issues with
user-edit.