changed login location to avoid re-log in that was firing