improved layout
fixed small bugs in views
#7 implemented session logic ; improved model User methods ; added header ; todo : redirect in post actions