Add error message to forms
Fix redirection after repo is added