I used a register button to make the register, but still the button is open to me even if i am logged in, This is not a good choice, so can you remove them for users. Thanks.
the reg image :

will look into that thanks
Yeah, it should have a different image once registered.
Here's a code you can use:
<!-- BEGIN switch_user_logged_out -->
and
<!-- END switch_user_logged_out -->
What that does is it makes it so whatever you put in between those two tags is only seen by guests, and it goes away when someone logs in. So you can put those two tags around the register image, and it will go away when someone logs in.