Finalized login system client side