Fixed overlapping login after backend refresh as described on Trello
removed commented code