Get login upload working properly