finalized login and register forms