form error checking + intents to main and receipt + fixed layout