Added signals.auth, refactored structure by addying logic.py