Change class prefix to BC.
Encapsulate overlay login in a dedicated class and refactor dependent code.