Thanks for reply Eric
I started the whole thing again from scratch following videos in solution recipes and it is driving me crazy. I did followed tutorials and looked at authenticate user but can't see where I went wrong hopefully if I focus on one page at a time I can solve problem with some help.
Registration seems to be posting to itself. However it is not redirecting to page set in server behavior. Log in page is not redirecting properly either on success or failure.
Could please take a look at my code in regards to redirect. Thank you.