added gem better errors and configured sign_in form