# Perspective Login/Logout

**URL:** <https://forum.inductiveautomation.com/t/perspective-login-logout/30657>\
**Category:** Ignition Early Access\
**Created:** [December 12, 2019, 11:21am UTC](https://forum.inductiveautomation.com/t/perspective-login-logout/30657 "2019-12-12T11:21:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luke1](https://avatars.discourse-cdn.com/v4/letter/l/4bbf92/32.png) [@luke1](https://forum.inductiveautomation.com/u/luke1)\
**Post date:** [December 12, 2019, 11:21am UTC](https://forum.inductiveautomation.com/t/perspective-login-logout/30657/1 "2019-12-12T11:21:21Z")

</div>

Hey guys!

Not sure of the functionality, but i’m trying to create a button that will allow a user to login/logout. One thing I noticed when using the logout function, which worked great, on execution of the login script it automatically signs in as the previous user. Is that supposed to happen?
