added logout page,fixed login...etc