Reverted getSignedInUser

Deleted by mistake. Still need to rework this code.