found bug with render :new in the session_controller#create because it was rendering a new template if user did not exist and it would return 500 errror. Also made a method in transaction_controller#clear_checkout_session_data which is self explanatory, also removed white space from _form.html.erb in users view folder.