nivshin wrote: If the user follows this link the home page is displayed with error message "Error You are not authorized to view this page! You need to log in."
I think that something is wrong with first login redirect.
Could you help me to figure out where is the problem?
Means that your Joomla permissions are most likely messed up.
Try doing a clean install of Joomla /CB and follow install/setup guide of CB Primer Book to verify that with proper configuration things work just fine.
Then backtrack to see what you have done wrong on your site.