refactor to use flash instead of session, update to awesome styles