added login in header and edited messages