fixed the signin null concern. will redirect upon nil value now: