cleaned up fornt end
more style changes, added message on redirect, cleaned up code