Added Server Communication and Fixed Login