Fixed issue with not working redirect
Simplified logic
Notice fix
Merge pull request #186 from amikheychik/master

Fixed user login block destination