Add base login, check file size before upload