when the user registersa ands logs goes to the panel