fixed bug with presenting login