added return url functionality if specified in login function for outsider controller
redirect to retur_url if specified in login function of user controlelr
check if user is logged in before purchase of a book